package xu.zhi.qing.badword.entity;

import xu.zhi.qing.user.entity.Admin;

import java.sql.Timestamp;

public class Badword {

    private Integer id;
    private Admin admin;
    private String content;
    private Timestamp createTime;

    // Constructors

    /** default constructor */
    public Badword() {
    }

    /** minimal constructor */
    public Badword(Admin admin, String content) {
        this.admin = admin;
        this.content = content;
    }

    /** full constructor */
    public Badword(Admin admin, String content, Timestamp createTime) {
        this.admin = admin;
        this.content = content;
        this.createTime = createTime;
    }

    // Property accessors

    public Integer getId() {
        return this.id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Admin getAdmin() {
        return this.admin;
    }

    public void setAdmin(Admin admin) {
        this.admin = admin;
    }

    public String getContent() {
        return this.content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Timestamp getCreateTime() {
        return this.createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

}
